package com.mall.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("秒杀活动通知记录")
@TableName("sms_flash_promotion_log")
public class SmsSpikeNotification {
    @ApiModelProperty("秒杀活动与商品关系ID")
    @TableId(type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty("会员ID")
    @TableField(value = "member_id")
    private Integer memberId;
    @ApiModelProperty("商品ID")
    @TableField(value = "product_id")
    private Integer productId;
    @ApiModelProperty("会员电话")
    @TableField(value = "member_phone")
    private String memberPhone;
    @ApiModelProperty("订阅时间")
    @TableField(value = "subscribe_time")
    private String subscribeTime;
    @ApiModelProperty("发送时间")
    @TableField(value = "send_time")
    private String sendTime;
}
